Git: name and email address configuration |
您所在的位置:网站首页 › git user name › Git: name and email address configuration |
问题描述: Your name and email address were configured automatically based on your username and hostname. Please check that they are accurate. You can suppress this message by setting them explicitly: git config --global user.name "Your Name" git config --global user.email [email protected]After doing this, you may fix the identity used for this commit with: git commit --amend --reset-author解决办法: Git simply detects you don't have the following section in your config files: [user] name = email = /.git/config for the project specific config file.~/.gitconfig the global config fileWhen you do: git config --global user.name "Your Name" git config --global user.email [email protected] |
CopyRight 2018-2019 办公设备维修网 版权所有 豫ICP备15022753号-3 |